import request from '@/utils/request'

// 查询PcwlShopEnv列表
export function loadDataList(query) {
	return request({
		url: '/pcwlShopEnv/loadDataList',
		method: 'get',
		params: query
	})
}
// 新增PcwlShopEnv
export function addPcwlShopEnv(data) {
	return request({
		url: '/pcwlShopEnv/add',
		method: 'post',
		data: data
	})
}
//查询PcwlShopEnv详细
export function getPcwlShopEnvById(pcwlShopEnvId) {
	return request({
		url: '/pcwlShopEnv/getPcwlShopEnvById/' + pcwlShopEnvId,
		method: 'get',
	})
}
//修改PcwlShopEnv
export function updatePcwlShopEnvById(data,pcwlShopEnvId) {
	return request({
		url: '/pcwlShopEnv/updatePcwlShopEnvById/'+pcwlShopEnvId,
		method: 'put',
		data: data
	})
}
//删除PcwlShopEnv
export function delPcwlShopEnvById(pcwlShopEnvId) {
	return request({
		url: '/pcwlShopEnv/deletePcwlShopEnvById/'+pcwlShopEnvId,
		method: 'delete',
	})
}
